package com.aspose.cells.b.a;

public class zu {
   public static String a(float var0) {
      if ((float)((long)var0) == var0) {
         return Long.toString((long)var0);
      } else {
         String var1 = Float.toString(var0);
         if (var1.indexOf(46) > -1) {
            char var2 = com.aspose.cells.b.a.c.za.a().d().c().charAt(0);
            if (var2 != '.') {
               var1 = var1.replace('.', var2);
            }
         }

         return var1;
      }
   }

   public static boolean b(float var0) {
      return Float.isInfinite(var0) && var0 > 0.0F;
   }
}
